package com.pqtest.api.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
public class SlSimulibraryAnswerDto {
    private long id;
    @NotNull(message = "模拟考id不能为空")
    //@JsonProperty("simu_id")
    private Integer simuId;
    @NotNull(message = "问题id不能为空")
   // @JsonProperty("question_id")
    private Integer qid;
    @NotBlank(message = "请输入答案")
    private String body;
}
